/* CJinformatique.css — Responsive Fix */
:root {
    --blue: #0066CC;
    --blue-dark: #004899;
    --blue-deeper: #003070;
    --white: #FFFFFF;
    --gray-light: #F4F7FB;
    --gray-mid: #E8EDF5;
    --text: #1a1a2e;
    --text-muted: #5a6a80;
    --accent: #00AAFF;
    --radius: 14px;
    --shadow: 0 4px 24px rgba(0,60,120,0.10);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Times New Roman', Times, serif;
    color: var(--text);
    background: var(--white);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* NAV */
nav {
    display: flex;
    padding: 1rem 5%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 16px rgba(0,30,80,0.18);
    width: 100%;
}

.logo img {
    height: 120px;
    width: auto;
    max-width: 100%;
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 5%;
    background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue) 60%, var(--accent) 100%);
    color: white;
    min-height: 380px;
    gap: 2rem;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    letter-spacing: 0.03em;
}

.hero h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.highlight { color: #7DD8FF; }

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cta {
    display: inline-block;
    padding: 0.75rem 1.6rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    background: white;
    color: var(--blue);
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.phone-mockup {
    width: 140px;
    height: 140px;
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    flex-shrink: 0;
}

.phone-mockup i { font-size: 4rem; color: rgba(255,255,255,0.85); }

/* STATS */
.stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    background: var(--blue-dark);
    padding: 1.2rem 5%;
    width: 100%;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 2.5rem;
    color: white;
}

.stat-num {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: #7DD8FF;
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    opacity: 0.75;
    margin-top: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

/* SECTION HELPERS */
.section-header { text-align: center; margin-bottom: 3rem; }

.section-header.light h2,
.section-header.light p { color: white; }

.section-header.light .section-tag {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
    border-color: rgba(255,255,255,0.25);
}

.section-tag {
    display: inline-block;
    background: rgba(0,102,204,0.08);
    color: var(--blue);
    border: 1px solid rgba(0,102,204,0.2);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.section-header p { color: var(--text-muted); font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* SERVICES */
.services { padding: 5rem 5%; background: var(--gray-light); width: 100%; }

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid var(--gray-mid);
}

.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,60,120,0.14); }

.service-icon-top {
    background: linear-gradient(135deg, var(--blue), var(--accent));
    color: white;
    font-size: 1.8rem;
    padding: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-photo img { width: 100%; height: 220px; object-fit: cover; display: block; }

.service-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1.25rem 1.5rem 0.5rem;
    color: var(--text);
}

.service-card ul { list-style: none; padding: 0 1.5rem 1.5rem; margin: 0; }

.service-card ul li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--gray-mid);
}

.service-card ul li:last-child { border-bottom: none; }
.service-card ul li .fa-check { color: var(--blue); font-size: 0.8rem; flex-shrink: 0; }

/* PROCESS */
.process {
    padding: 5rem 5%;
    background: linear-gradient(135deg, var(--blue-deeper), var(--blue-dark));
    width: 100%;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    color: white;
    transition: background 0.25s, transform 0.25s;
    backdrop-filter: blur(4px);
}

.step:hover { background: rgba(255,255,255,0.13); transform: translateY(-3px); }

.step-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(0,170,255,0.2);
    border: 2px solid rgba(0,170,255,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: #7DD8FF;
}

.step h3 { font-family:  'Times New Roman', Times, serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; color: white; }
.step p { font-size: 0.88rem; opacity: 0.72; line-height: 1.6; margin: 0; }

/* CONTACT */
.contact {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    padding: 5rem 5%;
    background: var(--white);
    align-items: start;
    width: 100%;
}

.contact-info { padding-right: 1rem; }

.contact-info h2 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem 1.25rem;
    background: var(--gray-light);
    border-radius: 10px;
    border-left: 3px solid var(--blue);
}

.contact-item-icon {
    width: 36px;
    height: 36px;
    background: var(--blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.contact-item div { display: flex; flex-direction: column; gap: 0.2rem; }

.contact-item strong {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
}

.contact-item a,
.contact-item span { font-size: 0.95rem; color: var(--text); text-decoration: none; font-weight: 500; }
.contact-item a:hover { color: var(--blue); }

.social-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #1877F2;
    color: white;
    text-decoration: none;
    padding: 0.55rem 1.1rem;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
}

.social-btn:hover { background: #0d65d8; transform: translateY(-1px); }

.map-placeholder {
    border-radius: 14px;
    overflow: hidden;
    height: 420px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-mid);
}

.map-placeholder iframe { width: 100%; height: 100%; display: block; border-radius: 12px; }

/* CTA BANNER */
.cta-banner {
    background: linear-gradient(135deg, var(--blue), var(--accent));
    padding: 4rem 5%;
    text-align: center;
    color: white;
    width: 100%;
}

.cta-banner-content h2 {
    font-family:  'Times New Roman', Times, serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.cta-banner-content p { opacity: 0.85; margin-bottom: 1.75rem; font-size: 1rem; }

.cta-white { background: white; color: var(--blue); }

/* FOOTER */
footer { background: var(--blue-deeper); color: white; text-align: center; padding: 2.5rem 5%; width: 100%; }

.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.footer-logo { height: 40px; width: auto; filter: brightness(10); opacity: 0.85; margin-bottom: 0.25rem; }
footer p { font-size: 0.9rem; opacity: 0.7; margin: 0; }
.footer-sub { font-size: 0.8rem !important; opacity: 0.45 !important; }

/* RESPONSIVE */

@media (max-width: 1024px) {
    .contact { grid-template-columns: 1fr; }
    .contact-info { padding-right: 0; }
    .map-placeholder { height: 320px; }
}

@media (max-width: 768px) {
    .logo img { height: 80px; }
    .hero { flex-direction: column; align-items: flex-start; padding: 3rem 5%; min-height: auto; }
    .phone-mockup { display: none; }
    .stat { padding: 0.5rem 1.2rem; }
    .stat-num { font-size: 1.4rem; }
    .service-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
    nav { justify-content: center; padding: 1rem 4%; }
    .logo img { height: auto; width: auto; max-width: 100%; }
    .hero { padding: 2.5rem 4%; }
    .hero-content { text-align: center; }
    .cta-buttons { justify-content: center; }
    .stats-bar { flex-direction: column; gap: 0.75rem; padding: 1.2rem 4%; }
    .stat-divider { display: none; }
    .service-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .contact { padding: 3rem 4%; gap: 2rem; }
    .services, .process { padding: 3rem 4%; }
    .cta-banner { padding: 3rem 4%; }
    .map-placeholder { height: 260px; }
}
